package cn.bgs.mapper;

import cn.bgs.pojo.VolunteerService;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 志愿服务表 Mapper 接口
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-08-08
 */
@Mapper
public interface VolunteerServiceMapper extends BaseMapper<VolunteerService> {

    List<VolunteerService> findVolunteerService(@Param("styShowTitle") String styShowTitle,@Param("styShowState") String styShowState);

    VolunteerService findVolunteerServiceId(Integer id);

    Integer addVolunteerService(VolunteerService volunteerService);

    Integer updateVolunteerService(VolunteerService volunteerService);
}
